<div id="mainDiv">
	<div style="padding:8px 20px;width:450px;">
		<h2><?php echo $this->language('Error');?>:</h2>
		<hr/><br/>
		<?php
		if($this->exception) {
			echo '<div class="msg msg-14px"><div class="common stop">';
			echo '<i class="icon"></i>';
			echo '<h4 style="font-size:14pt;padding-top:5px;">STOP:</h4>';
			echo '<div class="msg-bd">';
			if(is_string($this->exception)) {
				echo $this->exception;
			} elseif(is_array($this->exception)) {
				echo '<ul>';
				foreach($this->exception AS $e) {
					echo '<li>' . $e->getMessage() . '</li>';
				}
				echo '</ul>';
			} else {
				echo $this->exception->getMessage();
			}
			echo '</div></div></div>';
			echo "\n";
		}
		?>
		<div>
			<a href="<?php echo $this->referer;?>" class="button"><?php echo $this->language('Back');?>&gt;&gt;</a>
			<a href="<?php echo $this->url('index/index');?>" target="_top" class="button"><?php echo $this->language('Home');?>&gt;&gt;</a>
		</div>
	</div>
</div>
